<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<h3>修改部门信息</h3>
<form method="post" action="http://localhost:8080/Dept?action=update">
   <table border="1">
       <tr>
           <td>部门编号:</td>
           <td>
               <input type="text" name="deptno" value="${dept.deptno}">
           </td>
       </tr>
       <tr>
           <td>部门名称:</td>
           <td>
               <input type="text" name="dname" value="${dept.dname}">
           </td>
       </tr>
       <tr>
           <td>部门位置:</td>
           <td>
               <input type="text" name="loc" value="${dept.loc}">
           </td>
       </tr>
       <tr>
           <td colspan="2">
               <input type="submit" value="更新">
               <input type="reset" value="重置">
           </td>
       </tr>
   </table>
</form>

</body>
</html>
